import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './plugins/charts.js'
import store from './store'
axios.defaults.withCredentials = true
// axios.defaults.baseURL='https://www.amamiyuki.top:443/web';
axios.defaults.baseURL='http://localhost:9000/web';
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
  store,

  beforeCreate() {
    Vue.prototype.$bus = this //安装全局事件总线
  }
}).$mount('#app')
